package com.zb.api.common.models;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class Page <T> implements Serializable {

    @ApiModelProperty("当前页")
    private Integer pageNo;
    @ApiModelProperty("总页数")
    private Integer totalPage;
    @ApiModelProperty("每页最大条数")
    private Integer rowCntPerPage;
    @ApiModelProperty("总记录数")
    private Long totalRowCount;
    @ApiModelProperty("响应数据集")
    private List<T> list;
    @ApiModelProperty("排序")
    private String order;
    @ApiModelProperty("条件")
    private T condition;


}
